#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
    int line = 0;
    char ch = 0;
    scanf("%d %c", &line ,&ch);

    for (int i = 0; i < line/2; i++)
    {
        for (int j = 0; j < line; j++)
        {
            printf("%c", ch);
        }
        printf("\n");
    }
    return 0;
}